package com.study.springboot.service;

import com.study.springboot.dto.Depart;

import java.util.List;

/**
 * @author huyong
 * @since 2021/5/31 10:09
 */
public interface DepartService {


    boolean saveDepart(Depart depart);

    boolean deleteDepartById(Integer id);

    boolean modifyDepart(Depart depart);

    Depart getDepartById(Integer id);

    List<Depart> getAllDeparts();


}
